package com.hao.tool.extra.cloud.module.youtu.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * description
 *
 * @author RuiHaoZ on CMHK.jx
 * @date 2020-07-30 13:26
 */

@Getter
@Setter
@Accessors(chain = true)
public class YtAccessToken {
    private String appId;
    private String secretId;
    private String secretKey;

    public YtAccessToken(String appId, String secretId, String secretKey) {
        this.appId = appId;
        this.secretId = secretId;
        this.secretKey = secretKey;
    }

    public static YtAccessToken build() {
        String appId = "10084463";
        String secretId = "AKIDQkvvnUfiMrBNRJ9zZ0FKH6zmT2PaBlMs";
        String secretKey = "Xu7940KUbXOCwWJD4tqhVNF9BGIORN8g";
        return new YtAccessToken(appId, secretId, secretKey);

    }
}
